<?php
/**
 * common model file Created by PhpStorm.
 * User: wumengmeng
 * Date: 2019/09/03
 * Time: 15:20
 */

namespace HiCommon\Model;


class ShopServerType extends Base
{

    protected $table = 'shop_server_type';

    protected $guarded = [];

    //public $timestamps = false;


    //一对多
    public function shop_server_type()
    {
        return $this->hasMany(ShopServerType::class, 'pid','id')->select('id','name','pid');
    }


}